package com.heantai.easystruts.config;

import java.util.HashMap;
import java.util.Map;

public class ActionMappingsBean {
	private Map<String, ActionBean> actionBeans= new HashMap<String, ActionBean>();
	public void addActionBean(ActionBean actionBean){
		actionBeans.put(actionBean.getPath(), actionBean);
	}
	public ActionBean findActionBean (String path){
		return actionBeans.get(path);
	}
	@Override
	public String toString() {
		return "ActionMappingsBean [actionBeans=" + actionBeans + "]";
	}
	
}
